package cn.com.baiwei.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * (Vip)实体类
 *
 * @author X_Q
 * @since 2021-09-14 11:20:26
 * @version 1.0
 */
@ApiModel(value = "Vip",description = "会员表单")
public class Vip implements Serializable {
    private static final long serialVersionUID = -76501375264208706L;
    /**
    * 会员id
    */
	@ApiModelProperty(name = "id",notes = "会员id",dataType = "Integer",required = true)
    private Integer id;
    /**
    * 会员手机号
    */
	@ApiModelProperty(name = "vipPhone",notes = "会员手机号",dataType = "String",required = true)
    private String vipPhone;
    /**
    * 会员积分
    */
	@ApiModelProperty(name = "vipIntegral",notes = "会员积分",dataType = "Integer",required = true)
    private Integer vipIntegral;
    /**
    * 入会时间
    */
	@ApiModelProperty(name = "vipTime",notes = "入会时间",dataType = "Date",required = true)
    @DateTimeFormat(pattern = "yyyy-MMMM-dddd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MMMM-dddd HH:mm:ss",timezone = "GMT+8")
    private Date vipTime;

        
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
        
    public String getVipPhone() {
        return vipPhone;
    }

    public void setVipPhone(String vipPhone) {
        this.vipPhone = vipPhone;
    }

    public Integer getVipIntegral() {
        return vipIntegral;
    }

    public void setVipIntegral(Integer vipIntegral) {
        this.vipIntegral = vipIntegral;
    }

    public Date getVipTime() {
        return vipTime;
    }

    public void setVipTime(Date vipTime) {
        this.vipTime = vipTime;
    }

}